﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BCB RID: 3019
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyRollRandomCsReq : IMessage<MonopolyRollRandomCsReq>, IMessage, IEquatable<MonopolyRollRandomCsReq>, IDeepCloneable<MonopolyRollRandomCsReq>, IBufferMessage
	{
		// Token: 0x17002603 RID: 9731
		// (get) Token: 0x060086FD RID: 34557 RVA: 0x00166934 File Offset: 0x00164B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyRollRandomCsReq> Parser
		{
			get
			{
				return MonopolyRollRandomCsReq._parser;
			}
		}

		// Token: 0x17002604 RID: 9732
		// (get) Token: 0x060086FE RID: 34558 RVA: 0x0016693B File Offset: 0x00164B3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyRollRandomCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002605 RID: 9733
		// (get) Token: 0x060086FF RID: 34559 RVA: 0x0016694D File Offset: 0x00164B4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyRollRandomCsReq.Descriptor;
			}
		}

		// Token: 0x06008700 RID: 34560 RVA: 0x00166954 File Offset: 0x00164B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomCsReq()
		{
		}

		// Token: 0x06008701 RID: 34561 RVA: 0x0016695C File Offset: 0x00164B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomCsReq(MonopolyRollRandomCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008702 RID: 34562 RVA: 0x00166981 File Offset: 0x00164B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomCsReq Clone()
		{
			return new MonopolyRollRandomCsReq(this);
		}

		// Token: 0x17002606 RID: 9734
		// (get) Token: 0x06008703 RID: 34563 RVA: 0x00166989 File Offset: 0x00164B89
		// (set) Token: 0x06008704 RID: 34564 RVA: 0x00166991 File Offset: 0x00164B91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x06008705 RID: 34565 RVA: 0x0016699A File Offset: 0x00164B9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyRollRandomCsReq);
		}

		// Token: 0x06008706 RID: 34566 RVA: 0x001669A8 File Offset: 0x00164BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyRollRandomCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008707 RID: 34567 RVA: 0x001669D8 File Offset: 0x00164BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008708 RID: 34568 RVA: 0x00166A17 File Offset: 0x00164C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008709 RID: 34569 RVA: 0x00166A1F File Offset: 0x00164C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600870A RID: 34570 RVA: 0x00166A28 File Offset: 0x00164C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600870B RID: 34571 RVA: 0x00166A5C File Offset: 0x00164C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600870C RID: 34572 RVA: 0x00166A9A File Offset: 0x00164C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyRollRandomCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600870D RID: 34573 RVA: 0x00166ACB File Offset: 0x00164CCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600870E RID: 34574 RVA: 0x00166AD4 File Offset: 0x00164CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003364 RID: 13156
		private static readonly MessageParser<MonopolyRollRandomCsReq> _parser = new MessageParser<MonopolyRollRandomCsReq>(() => new MonopolyRollRandomCsReq());

		// Token: 0x04003365 RID: 13157
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003366 RID: 13158
		public const int EventIdFieldNumber = 11;

		// Token: 0x04003367 RID: 13159
		private uint eventId_;
	}
}
